﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="EmptyProjectNet40_FineUI.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     <f:PageManager ID="PageManager1" runat="server" />
       <f:Grid ID="Grid1" Title="复诊病人信息列表" EnableCollapse="true" Width="1060" PageSize="10" ShowBorder="true" ShowHeader="true"
            AllowPaging="true" IsDatabasePaging="true" runat="server" EnableCheckBoxSelect="True" OnRowCommand="Grid1_RowCommand"
            DataKeyNames="Id,Name" OnPageIndexChange="Grid1_PageIndexChange">

              <Toolbars>
                <f:Toolbar runat="server" Position="Top">
                    <Items>
                       <f:TextBox runat="server" Label="开始日期：" Width="200px" LabelWidth="80px"></f:TextBox>

                        <f:TextBox runat="server" Label="结束日期：" Width="200px" LabelWidth="80px"></f:TextBox>

                        <f:TextBox runat="server" Label="姓名：" Width="200px" LabelWidth="80px"></f:TextBox>

                        <f:TextBox runat="server" Label="身份证号码：" Width="200px" LabelWidth="80px"></f:TextBox>

                        <f:Button Text="查询" runat="server"></f:Button>
                    </Items>
                    <Items>
                         
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Columns>
                <f:RowNumberField Hidden="true" />
                 <f:BoundField Width="70px" DataField="ID" DataFormatString="{0}" HeaderText="编号" />
                <f:LinkButtonField DataTextField="Name" CommandName="Action99"></f:LinkButtonField>
                <f:BoundField Width="100px" DataField="birthday" DataFormatString="{0}" HeaderText="出生年月日" />
                <f:TemplateField Width="50px" HeaderText="性别">
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# GetGender(Eval("Gender")) %>'></asp:Label>
                    </ItemTemplate>
                </f:TemplateField>
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action1" Text="临床症状" HeaderText="临床症状" />
                 <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action2" Text="过去病史" HeaderText="过去病史" />
               
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action3" Text="个人生活史" HeaderText="个人生活史" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action4" Text="家族史" HeaderText="家族史" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action5" Text="体格检查" HeaderText="体格检查" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action6" Text="眼底及周围神经检查" HeaderText="眼底及周围神经检查" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action7" Text="实验室检查" HeaderText="实验室检查" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action8" Text="心电图" HeaderText="心电图" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action9" Text="影像学检查" HeaderText="影像学检查" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action10" Text="骨密度等其他检查" HeaderText="骨密度等其他检查" />
                <f:LinkButtonField Width="100px" TextAlign="Center" CommandName="Action11" Text="治疗情况" HeaderText="治疗情况" />
            </Columns>
          
        </f:Grid>



        <f:Window ID="Window1" Title="基本信息" Hidden="true"  Target="Self" EnableResize="true" runat="server"
            IsModal="true" Width="600px" WindowPosition="Center">
            <Items>
                <f:Form ID="SimpleForm1" runat="server" ShowBorder="false" ShowHeader="false" LabelWidth="80px" BodyPadding="10px">
                    <Items>
                        
                        <f:HiddenField ID="hfFormID" runat="server"></f:HiddenField>
                        <f:TextBox ID="tbxFormUserName" ShowRedStar="true" Text="马六" Label="姓名" Required="true" runat="server">
                        </f:TextBox>
                        <f:RadioButtonList ID="rblFormGender" Label="性别" ShowRedStar="true" Required="true" runat="server">
                            <f:RadioItem Text="男" Value="1"  Selected="true"/>
                            <f:RadioItem Text="女" Value="0" />
                        </f:RadioButtonList>
                        <f:TextBox ID="TextBox1" ShowRedStar="true" Text="650104198876019890" Label="身份证" RegexPattern="IDENTITY_CARD" Required="true" runat="server">
                        </f:TextBox>
                         <f:TextBox ID="TextBox2" ShowRedStar="true" Text="河北第一医院" Label="曾住医院" Required="true" runat="server">
                        </f:TextBox>
                        <f:TextBox ID="TextBox3" ShowRedStar="true" Label="住址" Text="光明街39号" Required="true" runat="server">
                        </f:TextBox>

                          <f:FormRow ColumnWidths="50% 50%">
                            <Items>

                         <f:TextBox ID="TextBox4" ShowRedStar="true" Text="567891" Label="邮编" RegexPattern="EMAIL" Required="true" runat="server">
                        </f:TextBox>
                         <f:TextBox ID="TextBox5" ShowRedStar="true" Text="13367890101" Label="电话" RegexPattern="NUMBER" Required="true" runat="server">
                        </f:TextBox>
                      
                                
                            </Items>
                        </f:FormRow>
                       
                        <f:FormRow ColumnWidths="50% 50%">
                            <Items>

                                  <f:DropDownList ID="ddlFormMajor" Label="职业" ShowRedStar="true" Required="true" AutoSelectFirstItem="false" runat="server">
                            <f:ListItem Text="学生" Value="学生" />
                            <f:ListItem Text="脑力劳动者 " Value="脑力劳动者 " />
                            <f:ListItem Text="体力劳动者 " Value="体力劳动者 " />
                            <f:ListItem Text="离退人员 " Value="离退人员 " Selected="true" />
                            <f:ListItem Text="家庭妇女 " Value="家庭妇女 " />
                            <f:ListItem Text="下岗无业 " Value="下岗无业 " />
                        </f:DropDownList>


                                  <f:DropDownList ID="DropDownList1" Label="文化程度" ShowRedStar="true" Required="true" AutoSelectFirstItem="false" runat="server">
                           
                            <f:ListItem Text="本科以上   " Value="本科以上   " Selected="true" />
                            <f:ListItem Text="大专  " Value="大专  " />
                            <f:ListItem Text="高中 " Value="高中 " />
                            <f:ListItem Text="初中 " Value="初中 " />
                            <f:ListItem Text="小学 " Value="小学 " />
                             <f:ListItem Text="文盲 " Value="文盲 " />
                        </f:DropDownList>

                     

                            </Items>
                        </f:FormRow>

                          <f:RadioButtonList ID="rbl1" runat="server">
                           <f:RadioItem Text="省医保" />
                           <f:RadioItem Text="地市医保" />
                           <f:RadioItem Text="城镇居民医保" />
                           <f:RadioItem Text="农保" />
                           <f:RadioItem Text="商业医保" />
                       </f:RadioButtonList>
                    </Items>
                    
                    <Toolbars>
                        <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
                            <Items>
                                <f:Button ID="btnSave"
                                    Icon="SystemSave" runat="server" Text="保存数据" ValidateForms="SimpleForm1" >
                                </f:Button>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                </f:Form>
            </Items>
            
        </f:Window>
    </form>
   
</body>
</html>
